ActiveBorderContainsPoint
TheActiveBorderContainsPoint
method returns a Boolean value that indicates whether this facet's frame is active and a point is within its active frame border.
ODBoolean ActiveBorderContainsPoint ( in ODPoint point, in ODCanvas biasCanvas);
point
- The location to test, expressed in frame coordinates.
biasCanvas
kODNULL
if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.- return value
kODTrue
if this facet's frame is active and a point is within its active frame border, otherwisekODFalse
.DISCUSSION
Your part calls its embedded facet'sActiveBorderContainsPoint
method when it receives a mouse-enter or mouse-within event. Your part uses this method to do mouse-up event tracking by checking to see if the event received is in one of its embedded facets.OpenDoc draws this facet's active frame border on the border of the active shape associated with this facet. The active frame border is derived from the active shape, but is not identical to it.
SEE ALSO
TheODPoint
type (page 885).
TheODFacet::ContainsPoint
method (page 236).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help